package com.myschool.server.model;

public enum TimeTableType {

	DAILY("Daily", 1), WEEKLY("Weekly", 7), BYWEEKLY("ByWeekly", 15), MONTHLY(
			"Monthly", 30), YEARLY("Yearly", 365);

	private String desc;

	private Integer days;

	/**
	 * @return the desc
	 */
	public String getDesc() {
		return desc;
	}

	/**
	 * @param desc
	 *            the desc to set
	 */
	public void setDesc(String desc) {
		this.desc = desc;
	}

	private TimeTableType(String name, Integer day) {

		this.desc = name;
		this.days = day;
	}

	/**
	 * @return the days
	 */
	public Integer getDays() {
		return days;
	}

	/**
	 * @param days
	 *            the days to set
	 */
	public void setDays(Integer days) {
		this.days = days;
	}

}
